#include "gofgame/dungeonkeeper/game/Base.h"

using namespace gofgame::dungeonkeeper::game;

Base::Base(){
	targetType = 3;
	this->idelMove = false;
}

cocos2d::CCPoint Base::getNowPoint(){
	return this->getPosition();
};

void Base::hurted(int atk){
	this->setCurrentHp(this->getCurrentHp() - atk);
};

bool Base::isDead() {
	if(this->getCurrentHp() <= 0) {
		return true;
	}
	return false;
}